package com.emotion.recognition.server.mlp;

import java.util.List;

/**
 * A layer of nodes.
 * 
 * @author Minsang
 */
public interface Layer<T extends Node> extends Iterable<T> {

    int size();

    void add(T node);

    T get(int i);

    String getName();

    List<Double> getLastOuputFromAll();

    boolean hasBiasNode();

    void fireBiasNodeIfExists();

    double getBias();
}
